typo fix
authorking6cong <king6cong@gmail.com>
Mon, 20 Feb 2017 07:24:24 +0000 (15:24 +0800)
committerking6cong <king6cong@gmail.com>
Mon, 20 Feb 2017 08:47:08 +0000 (16:47 +0800)
src/cargo/ops/cargo_rustc/context.rs
src/cargo/ops/cargo_rustc/custom_build.rs

index 31606eb522426304f52985df0846fdc5426ff968..cc7c913fbb6bce3f495d7fb3a7d8e679de09a514 100644 (file)
@@ -444,7 +444,7 @@ impl<'a, 'cfg> Context<'a, 'cfg> {
     /// Returns a tuple with the directory and name of the hard link we expect
     /// our target to be copied to. Eg, file_stem may be out_dir/deps/foo-abcdef
     /// and link_stem would be out_dir/foo
-    /// This function returns it in two parts so the caller can add prefix/suffis
+    /// This function returns it in two parts so the caller can add prefix/suffix
     /// to filename separately
 
     /// Returns an Option because in some cases we don't want to link
index ea3e0f98ca244ec78a5eb21cbd7633192c0b623e..6c5866127fd5a79edbb0cab7b7ff9690bde24392 100644 (file)
@@ -171,7 +171,7 @@ fn build_work<'a, 'cfg>(cx: &mut Context<'a, 'cfg>, unit: &Unit<'a>)
     let kind = unit.kind;
     let json_messages = cx.build_config.json_messages;
 
-    // Check to see if the build script as already run, and if it has keep
+    // Check to see if the build script has already run, and if it has keep
     // track of whether it has told us about some explicit dependencies
     let prev_output = BuildOutput::parse_file(&output_file, &pkg_name).ok();
     let rerun_if_changed = match prev_output {